package com.comm.enums;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author mis_wu
 * @date 2022/6/18 15:36
 * @todo feign调用错误枚举
 */
@AllArgsConstructor
@NoArgsConstructor
public enum FeignErrorEnum {

    FEIGN_SERVE_ERROR(10001,"feign服务调用失败"),
    ;


    private Integer code;
    private String desc;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
